    <div class="right">
    <div id="columns1">
    <div class="nav">
      <form action="<?=$this->config->item('site_url');?>RespAnalysis/showbyfirst" method="post" onsubmit="return selectdatesearch();" name="date_search_form">
        <ul>
          <li <?php if ($search_day ==0){ ?>class="current" <?php } ?>><span><a href="<?=$this->config->item("site_url");?>RespAnalysis/showbyfirst">今日</a></span></li>
          <li <?php if ($search_day ==1){ ?>class="current" <?php } ?>><span><a href="<?=$this->config->item("site_url");?>RespAnalysis/showbyfirst?search_day=1">昨日</a></span></li>
          <li <?php if ($search_day ==7){ ?>class="current" <?php } ?>><span><a href="<?=$this->config->item("site_url");?>RespAnalysis/showbyfirst?search_day=7">最近七天</a></span></li>
          <li <?php if ($search_day ==30){ ?>class="current" <?php } ?>><span><a href="<?=$this->config->item("site_url");?>RespAnalysis/showbyfirst?search_day=30">最近三十天</a></span></li>
          <li><span>从</span></li>
          <li><span class="demo">
            <input type="text" size="10" maxlength="8" readonly="readonly" value="<?=$search_sdate?>" id="datepicker" name="search_sdate">
            </span></li>
          <li><span>到</span></li>
          <li><span class="demo">
            <input type="text" id="datepicker1" size="10" value="<?=$search_edate?>" maxlength="8" name="search_edate">
            </span></li>
          <li class="lineNone"><span>
            <input type="button" value="查看" style="border: 1px #FFFFFF solid; background: #efefef;style=cursor:pointer" onclick="selectdatesearch()">
            </span></li>
        </ul>
      </form>
    </div>	
        <ul id="column2" class="main">
<!--          <li class="widget1 color-green1" id="widget12" style="visibility:hidden;">
            <div class="widget1-head" style="height:0px;">
              <h3>受访页面统计图</h3>
            </div>
            <div class="widget1-content">
            
            </div>
          </li>-->
          <li class="widget1 color-green1" id="widget13">
            <div class="widget1-head">
              <h3>受访页面</h3>
            </div>
            <div class="widget1-content">
			          <table cellspacing="0" cellpadding="0">
            <tr>
              <th width="5%">序号</th>
              <th width="30%">受访页面地址</th>
              <th width="10%">总PV数</th>
              <th width="10%">访客数</th>
              <th width="10%">总停留时间(s)</th>
              <th width="10%">平均停留时间(s)</th>
            </tr>
            <?php 
			if($data){
			$i=0;
			foreach($data as $key=>$res):
			$i++
			?>
            <tr>
              <td><?=$i?></td>
              <td width="10"><a href="<?=$key?>" target="_blank" title="<?=$key?>">
                <?=$res['short_arriveRefer']?>
                </a></td>
              <td><?=$res['total_arrives']?></td>
              <td><?=@$res['total_vids']?></td>
              <td><?=$res['total_stopTimes']?></td>
              <td><?=$res['avg_arriveTimes']?></td>
            </tr>
            <?php endforeach; 
			
			}else{?>
			<tr>
				<td colspan="8"><center><font color=red>无数据</font></center></td>
			</tr>
			<?php } ?>														
		</table>
	</div>
          </li>
          </ul>
          </div>
          </div>
          </div>
          </div>
          </div>
  </div>
<script type="text/javascript" src="<?=$this->config->item('js_url');?>date.js"></script>